const RechargeOptionDao = require('../dao/rechargeOptionDao');
exports.selectOption = function () {
    return new Promise(function (resolve,reject) {
        RechargeOptionDao.selectOption(masterPool)
            .then(resolve,reject);
    });
};
exports.updateOption = function (params) {
    return new Promise(function (resolve,reject) {
        RechargeOptionDao.updateOption(masterPool,params)
            .then(resolve("更新成功"),reject);
    });
};
